package com.sugon.quartz.misfire;

import java.time.LocalDateTime;

import org.quartz.Job;
import org.quartz.JobDataMap;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.PersistJobDataAfterExecution;
import org.quartz.SchedulerException;

import lombok.Data;

/**
 * @desc:
 * @author: luoy
 * @date: 2021-12-02 16:14
 */
@Data
//@DisallowConcurrentExecution
@PersistJobDataAfterExecution
public class MisfireJob implements Job {



    String num;

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        System.out.println("hello:"+ LocalDateTime.now());
    }
}
